package main

import "fmt"

type Person struct{
	Name string
	Gender string
	Age uint8
}

func (person *Person) Grow(){
	person.Age++
	var call string
	if person.Gender == "Male"{
		call="he"
	}else{
		call="she"
	}
	fmt.Printf("%s has celebrated his birthday, now %s is %d years old.\n",person.Name,call,person.Age)
}

func main(){
	p1:=Person{"Robert","Male",33}
	p1.Grow()
	p2:=Person{Name:"John"}
	fmt.Println(p2)
}